package com.lcredu.springboot.controller;

import com.lcredu.springboot.entity.Monster;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 黎长容
 * @date 2025-08-11 15:11
 */
@RestController
public class HiController {
    @Resource
    private Monster monster;
    
    @RequestMapping("/monster")
    public Monster getMonster(){
        return monster;
    }
}
